<?php


class Contact_Model_DbTable_Row extends WSB_Db_Row
{

	public function init()
	{
		$this->_formConfigPath = WSB_XTENSION_PATH . 'contact/models/form.config';
	}

	/**
	 * Formelemente als Array zurueckgeben
	 *
	 * @return array
	 */
	public function getConfigArray()
	{
		$elements = trim($this->elements);
		if(empty($elements)) {
			return array();
		} else {
			return WSB_Div::iniToArray($elements);
		}
	}

}
